<?php
/**
 *
 * Author: Lyu
 * Date: 2023/7/25
 * Time: 15:53
 */

namespace App\Service\Core\Admin\Power;

use App\Service\Core\CoreBaseService;

class AdminUserPowerStoreItemService extends CoreBaseService
{
    public string $link_id;
    public int $link_type;
    private array $item = [];

    public function store()
    {
        $this->item[] = [
            'link_id' => $this->link_id,
            'link_type' => $this->link_type,
        ];
        unset($this->link_id, $this->link_type);
    }

    public function getItem(): array
    {
        return $this->item;
    }
}
